package com.allwees.bs.module.cms.service.impl;

import com.allwees.bs.module.base.service.impl.BoServiceImpl;
import com.allwees.bs.module.cms.dao.ChannelDao;
import com.allwees.bs.module.cms.entity.ChannelEntity;
import com.allwees.bs.module.cms.service.ChannelService;
import com.allwees.core.common.constant.EPlatform;
import org.springframework.stereotype.Service;

@Service
public class ChannelServiceImpl extends BoServiceImpl<ChannelDao, ChannelEntity> implements ChannelService {
    @Override
    public String getGenerateUuid(EPlatform ePlatform, String channelName, String version) {
        return "sc" + ePlatform.getShortName() + "_" + channelName + "_" + version;
    }
}
